package com.jiawa.train.business.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
        import java.util.Date;
        import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DailyTrainCarriageQueryResp {

    /**
    * id
    */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /**
    * 日期
    */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;

    /**
    * 车次编号
    */
    private String trainCode;

    /**
    * 箱序
    */
    private Integer index;

    /**
    * 座位类型|枚举[SeatTypeEnum]
    */
    private String seatType;

    /**
    * 座位数
    */
    private Integer seatCount;

    /**
    * 排数
    */
    private Integer rowCount;

    /**
    * 列数
    */
    private Integer columnCount;

    /**
    * 新增时间
    */
    private Date createTime;

    /**
    * 修改时间
    */
    private Date updateTime;

}
